﻿using System;
using System.Windows;
using ControleRepresentanteSync.Application;

namespace ControleRepresentanteSync.View
{
    public abstract class ViewModelBase : DependencyObject, IViewModel
    {
        public event EventHandler OnClose;

        public void FireOnClose()
        {
            if (OnClose != null)
                OnClose(this, EventArgs.Empty);
        }
    }
}
